package cn.gene.timeyan.pojo.ums.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 用户注册*
 *
 * @author LWG
 * @date 2022/7/21 15:24
 * @since 1.0.0@gene.cn
 */
@Data
@ApiModel
public class UserRegistryDTO implements Serializable {
    @ApiModelProperty(value = "密码",name = "password",required = true)
    @NotNull(message = "不能为空")
    private String password;
    @ApiModelProperty(value = "邮箱",name = "email")
    private String email;
    @ApiModelProperty(value = "手机",name = "phone")
    private String phone;
    @ApiModelProperty(value = "验证码",name = "verifCode",required = true)
    @NotNull(message = "不能为空")
    private String verifCode;
}
